using System.Collections.Generic;

namespace ColladaDotNet
{
	public partial class fx_newparam_common : ColladaXmlNode
	{
		public override string GetSid() { return sid; }
		public override IList<ColladaXmlNode> ChildNodes
		{
			get
			{
				var list = new List<ColladaXmlNode>();
				if (annotate != null)
					foreach (object e in annotate) if (e is ColladaXmlNode) list.Add((ColladaXmlNode)e);
				if (surface != null)
					list.Add(surface);
				if (sampler1D != null)
					list.Add(sampler1D);
				if (sampler2D != null)
					list.Add(sampler2D);
				if (sampler3D != null)
					list.Add(sampler3D);
				if (samplerCUBE != null)
					list.Add(samplerCUBE);
				if (samplerRECT != null)
					list.Add(samplerRECT);
				if (samplerDEPTH != null)
					list.Add(samplerDEPTH);
				return list;
			}
		}
	}
}
